package cn.tedu.boot.demo.pojo.dto;


import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AdminLoginDTO implements Serializable {

    @NotNull(message = "登录失败，请提交用户名！")
    private String username;

    @NotNull(message = "登录失败，请提交密码！")
    private String password;

}